package com.lichuandi.future;

import static java.lang.Thread.ofVirtual;

public class VirtualThreadExample {
    public static void main(String[] args) {
        ofVirtual().start(() -> {
            System.out.println("虚拟线程执行: " + Thread.currentThread());
        });
    }
}